<?xml version="1.0" encoding="utf-8"?>
<component version="1.0" xmlns="http://schemas.circuit-diagram.org/circuitDiagramDocument/2012/component/xml">
  <declaration>
    <meta name="name" value="Demultiplexer" />
    <meta name="minsize" value="60" />
    <meta name="author" value="Circuit Diagram" />
    <meta name="additionalinformation" value="http://www.circuit-diagram.org/" />
    <meta name="guid" value="53ff8195-72f4-4137-b114-b69828389dc9" />
    <meta name="implementset" value="http://schemas.circuit-diagram.org/circuitDiagramDocument/2012/components/common" />

    <property name="Enabled" type="bool" default="True" serialize="en" display="Enabled" />

    <flags>
      <option>MiddleMustAlign</option>
      <option>HorizontalOnly</option>
    </flags>
  </declaration>
  <connections>
    <group>
      <connection start="_Start" end="_Middle-21x" edge="Start" />
      <connection start="_Middle+21y" end="_Middle+30y" edge="End" />
      <connection start="_Middle+21x-10y" end="_End-10y" edge="End" />
      <connection start="_Middle+21x+10y" end="_End+10y" edge="End" />
    </group>
  </connections>
  <render>
    <!-- Common -->
    <group>
      <line start="_Start" end="_Middle-17x" />
      <line start="_Middle+20y" end="_Middle+30y" />
      <rect x="_Middle-20" y="_Middle-20" width="40" height="40" />
      <ellipse centre="_Middle-13x" radiusx="3" radiusy="3" />
      <ellipse centre="_Middle+13x-10y" radiusx="3" radiusy="3" />
      <ellipse centre="_Middle+13x+10y" radiusx="3" radiusy="3" />
      <line start="_Middle+17x-10y" end="_End-10y" />
      <line start="_Middle+17x+10y" end="_End+10y" />
    </group>

    <group conditions="$Enabled">
      <line start="_Middle-10x" end="_Middle+10x-10y" />
      <path start="_Middle+9x-9y" data="l -4,4 l -2,-4 l 6,-1" fill="true" />
    </group>

    <group conditions="!$Enabled">
      <line start="_Middle-10x" end="_Middle+10x+10y" />
      <path start="_Middle+9x+10y" data="l -6,-1 l 2,-4 l 4,4" fill="true" />
    </group>
  </render>
</component>